package com.example.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @TableName tbl_answer
 */
@TableName(value ="tbl_answer")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Answer implements Serializable {
    /**
     * 答案id
     */
    @TableId("answer_id")
    private Integer answerId;
    /**
     * 问题id
     */
    @TableField("question_id")
    private Integer questionId;

    /**
     * 答案内容
     */
    @TableField("answer")
    private String content;

    private static final long serialVersionUID = 1L;
}